//
// Created by Administrator on 2023/5/3/003.
//

#include "QueueDemo.h"

QueueDemo::QueueDemo() {

}

void QueueDemo::put(int i) {
    packets.insertToQueue(i);
}

int QueueDemo::get() {
    int i =0;
    packets.getQueueAndDel(i);
    return i;
}
